const sq = require('./index');
const { DataTypes } = require('sequelize');
const UserId = sq.define('UserId', {
    userId: {
        type: DataTypes.INTEGER,
        allowNull: false,
        unique: true
    },
    socketid: {
        type: DataTypes.STRING,
        allowNull: true,
        defaultValue: ""
    },
}, {
    freezeTableName: true,
});
//UserId.sync({ force: true })
module.exports = UserId;

